package com.douziit.meilianoa.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.douziit.meilianoa.entity.TargetAmount;
import com.douziit.meilianoa.mapper.TargetAmountMapper;
import com.douziit.meilianoa.service.TargetAmountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 目标金额操作 服务 实现类
 */
@Service
public class TargetAmountServiceImpl extends ServiceImpl<TargetAmountMapper, TargetAmount> implements TargetAmountService {

    @Autowired
    private TargetAmountMapper targetAmountMapper;

    @Override
    public void delete(Integer accountId) {
        targetAmountMapper.deleteTarAmount(accountId);
    }

}
